# -*- mode: Python -*-

include('../Tiltfile')

# If you get push errors, you can change the default_registry.
# Create tilt_option.json with contents: {"default_registry": "gcr.io/my-personal-project"}
# (with your registry inserted). tilt_option.json is gitignore'd, unlike Tiltfile
default_registry(read_json('tilt_option.json', {})
                 .get('default_registry', 'gcr.io/windmill-test-containers/servantes'))

docker_build('disabletest', '.')
k8s_yaml('disabletest.yaml')
k8s_resource('disabletest', port_forwards=8100)

# TODO(matt) also do local and DC resources
